#ifndef UPDATEPROCESS_H
#define UPDATEPROCESS_H
#include "LogicProcess.h"
#include "Task.h"
class UpdateProcess:public LogicProcess{
private:
	TaskList *originList;
	TaskList *toUpdateList;
	int taskNumber;
	bool toFinish;
	static const string FINISH;
	static const string UNFINISH;
	taskContainer container1st;
	taskContainer container2nd;
public:
	UpdateProcess(string cmdString,allTaskList *givenLists,allCommandStack *givenStacks);
	void HandleProcesss();
	int getTaskNumber();
	void seekUpdateMode();
	string getInputTskNum();
	void lowerCase(string &tmp);
	bool compareMode(string mode);//Return true if find the mode, false if not (for futher flexi command)
	void Update();
	void getTheLists();
	void quickProcess(Task task){}
};
#endif